:global(.ant-modal-body) main.records {
  max-height: 50vh;
  min-height: 300px;
  overflow-y: auto;
  padding: 0;
}

.record {
  align-items: center;
  background-color: #fff;
  padding: 25px 24px;

  & > header {
    align-items: center;
    background-color: #fafafa;
    border-radius: 1px;
    border: 1px solid #f0f0f0;
    color: #555;
    display: flex;
    margin-bottom: 8px;
    padding: 6px 12px;
    user-select: none;
    transition: all 0.2s ease-in;
    .sort {
      color: #777;
      cursor: move;
      margin-right: 12px;
    }
    .title {
      flex: 1;
      font-size: 12px;
      padding-top: 1px;
    }
    .remove {
      color: #ec5b56;
      cursor: pointer;
      font-size: 18px;
    }
  }
  &:hover > header {
    background-color: #f3f3f3;
    border: 1px solid #e6e6e6;
    color: #222;
  }
}

.record-image {
  max-width: 200px;
  max-height: 300px;
}

.record-file {
  background-color: white;
  border-radius: 3px;
  border: 1px solid #e5e5e5;
  color: #333;
  display: block;
  padding: 16px 13px;
  width: 200px;
}

.record-video {
  max-height: 500px;
  max-width: 100%;
  outline: none;
}

.record-card {
  align-items: center;
  background-color: white;
  border: 1px solid #e5e5e5;
  color: #333 !important;
  display: flex;
  padding: 11px 13px;
  width: 230px;
  .img {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 50px;
    margin-right: 1em;
    width: 50px;
  }
  header {
    line-height: 1.4;
  }
  .desc {
    color: #999;
    font-size: 12px;
    margin-top: 3px;
  }
}

@border-color: #e5e5e5;
.record-mini-program,
.record-videonum {
  background-color: #fff;
  border-radius: 3px;
  border: 1px solid @border-color;
  width: 252px;
  .footer {
    align-items: center;
    border-top: 1px solid #f0f0f0;
    color: #999;
    display: flex;
    font-size: 12px;
    padding: 4px 2px;
    svg {
      margin-right: 2px;
    }
  }
}

.record-mini-program {
  padding: 11px 13px 0 13px;
  header {
    align-items: center;
    display: flex;
    word-break: break-all;
    word-wrap: break-word;
    img {
      @size: 18px;
      border-radius: @size;
      height: @size;
      margin-right: 5px;
      width: @size;
    }
    color: #999;
    font-size: 12px;
    letter-spacing: 1px;
  }
  .title {
    align-items: center;
    display: flex;
    font-size: 17px;
    font-weight: bold;
    height: 190px;
    padding: 0 0.5em;
    text-align: center;
  }
  .footer svg {
    color: #7b88cb;
  }
}

.record-videonum {
  .thumb {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 3px 3px 0 0;
    height: 250px;
    width: 100%;
  }
  .info {
    align-items: center;
    display: flex;
    padding: 4px 13px;
    img {
      @size: 24px;
      border-radius: @size;
      height: @size;
      margin-right: 8px;
      width: @size;
    }
    :global(.ant-typography) {
      margin: 0;
      line-height: 1.4;
      font-size: 13px;
    }
  }
  .footer {
    margin: 0 13px;
    svg {
      color: #eb9143;
    }
  }
}
